import com.dao.PassengerDao;
import com.pojo.Passenger;
import com.util.MyBatisUtil;
import org.junit.Test;

public class MyBatisoto {
    @Test
    public void selectById(){
        PassengerDao mapper = MyBatisUtil.getMapper(PassengerDao.class);

        Passenger passenger = mapper.selectById(2);

        System.out.println(passenger);

    }
}
